#################################################################
## Replication code for Strange, Enos, Hill, and Lakeman (2019)
## "Online Volunteer Laboratories for Human Subjects Research"
##
#################################################################

When run, main_replication_file.R produces Figures 1 and 2 from the main text, Table 1 from the main text,
Figures A and B from S1 Appendix, Tables A, B, and C from S2 Appendix, Tables A, B, C, and D
from the S3 Appendix, and Tables A and B and Figures A, B, and D from the S4 Appendix.

The code produces figures/tables in the order that appear in the article, starting with the figures and tables in the main text, then each subsequent appendix 1-4.

Figures 1 and 2 will be created and exported to the working directory as a .png file, Appendix figures will be plotted within the R plot window, but will not be exported to the working directory.

The replication code for all of the tables will generate latex code to create each table that exported as an appropriately named text file to the working directory.

Before running the code, be sure to set your working directory to the location of this folder.

All datasets required for these replications are present in the "datasets" folder within this folder. All helper .R source files are located in the folder called source_files.

All required packages are loaded at the top of the R script. Any package not installed can be installed using install.packages("PackageName")